/**
 * Created with JetBrains WebStorm.
 * User:Gen
 * Date: 14-1-15
 * Time: 上午10:23
 * 仓库Store
 */
Ext.define("byb.store.system.Company", {
    extend:"Ext.data.Store",
    autoLoad:false,
    model:"byb.model.system.Company",
    proxy: {
        type: "ajax",
        api:{
            read:byb.Constant.APIRoot+"/org/userCompanies"
        },
        reader:{
            type:"json",
            root:"results",
            successProperty:"success",
            totalProperty:"totalCount"
        }
    }
});